#ifndef __DHT11_H__
#define __DHT11_H__


#define  DATA_OUT   PEout(0)
#define  DATA_IN   PEin(0)

#define  DHT11_GPIO_CLK        RCC_AHB1Periph_GPIOE
#define  DHT11_GPIO_PORT       GPIOE
#define  DHT11_GPIO_PIN        GPIO_Pin_0



/*
#define  DATA_OUT   PGout(9)
#define  DATA_IN   PGin(9)

#define  DHT11_GPIO_CLK        RCC_AHB1Periph_GPIOG
#define  DHT11_GPIO_PORT       GPIOG
#define  DHT11_GPIO_PIN        GPIO_Pin_9
*/



extern void dht11_init(void);
extern int32_t dht11_read(uint8_t *pdht_data);

extern void dht11_init(void);
extern int32_t dht11_read(uint8_t *pbuf);




#endif
